package com.dd.shop4j.admin.model;

import java.util.Date;


/**
 * admin_user - 管理员用户表
 * 
 * @author 唐小恕 2013-08-29
 * @version 1.0 
 */
public class AdminUser {
	/**
	 * int(0)
	 * 管理员id
	 * 主键字段
	 * 字段不允许为空
	 */
	private Integer userId;
	/**
	 * varchar(16)
	 * 用户名
	 */
	private String username;
	/**
	 * varchar(16)
	 * 真实姓名
	 */
	private String realname;
	/**
	 * varchar(32)
	 * 邮件
	 */
	private String mail;
	/**
	 * varchar(32)
	 * 密码
	 */
	private String password;
	/**
	 * datetime(0)
	 * 添加时间
	 */
	private Date addTime;
	/**
	 * datetime(0)
	 * 最后登录时间
	 */
	private Date lastLogin;
	/**
	 * varchar(20)
	 * 最后登录ip
	 */
	private String lastIp;
	/**
	 * char(1)
	 * 状态（0新用户，1正常，2禁用）
	 */
	private String status;
	/**
	 * varchar(32)
	 * 密匙
	 */
	private String macKey;

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Date getLastLogin() {
		return lastLogin;
	}

	public void setLastLogin(Date lastLogin) {
		this.lastLogin = lastLogin;
	}

	public String getLastIp() {
		return lastIp;
	}

	public void setLastIp(String lastIp) {
		this.lastIp = lastIp;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMacKey() {
		return macKey;
	}

	public void setMacKey(String macKey) {
		this.macKey = macKey;
	}

}